//
//  BagsViewController.m
//  ManStoreDemo
//
//  Created by qianfeng01 on 15/7/22.
//  Copyright (c) 2015年 xiangmu. All rights reserved.
//

#import "BagsViewController.h"

@interface BagsViewController ()

@end

@implementation BagsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self firstLoadWith:71];
    [self creatRefreshViewWith:71];
}
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath{
    BaseModel *model=self.dataArray[indexPath.row];
    Detail2ViewController *controller=[[Detail2ViewController alloc] init];
    
    controller.item_id=model._id;
    controller.hidesBottomBarWhenPushed=YES;
    [self.navigationController pushViewController:controller animated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
